home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 25 / CU Amiga Magazine's Super CD-ROM 25 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-08].iso / CUCD / Programming / GMS / GMSDev / Includes / files / objects.i < prev    next >
Encoding:
Text File  |  1998-03-15  |  1.1 KB  |  49 lines

  1.     IFND FILES_OBJECTS_I
  2. FILES_OBJECTS_I  SET  1
  3.  
  4. **
  5. **  $VER: objects.i V1.0
  6. **
  7. **  Object definitions.
  8. **
  9. **  (C) Copyright 1996-1998 DreamWorld Productions.
  10. **      All Rights Reserved.
  11. **
  12. **
  13.  
  14.     IFND    DPKERNEL_I
  15.     include 'dpkernel/dpkernel.i'
  16.     ENDC
  17.  
  18. ******************************************************************************
  19. * Entry stucture for GetObjectList().
  20.  
  21.     STRUCTURE    ObjectEntry,0
  22.     APTR    OE_Name           ;Pointer to the name, may be NULL.
  23.     APTR    OE_Object         ;Object is returned here.
  24.     LABEL    OE_SIZEOF
  25.  
  26.     STRUCTURE    DataHeader,0      ;Data header for each object.
  27.     LONG    DH_Type           ;Type of object, eg STRC, CODE, DATA.
  28.     LONG    DH_Next           ;Offset towards next object.
  29.     LABEL    DH_Name           ;The name of the object.
  30.  
  31. ******************************************************************************
  32. * Object-File.
  33.  
  34. VER_OBJECTFILE  = 1
  35. TAGS_OBJECTFILE = ((ID_SPCTAGS<<16)|ID_OBJECTFILE)
  36.  
  37.     STRUCTURE    OBJ,HEAD_SIZEOF
  38.     APTR    OBJ_Source
  39.  
  40.     *** Private fields ***
  41.  
  42.     APTR    OBJ_prvSegments
  43.     APTR    OBJ_prvData
  44.     LABEL    OBJ_SIZEOF
  45.  
  46. OBJA_Source   = (TAPTR|OBJ_Source)
  47.  
  48.   ENDC ;FILES_OBJECTS_I
  49.